package com.lwz.startdemo

import android.content.Context
import android.content.Intent
import android.os.Bundle
import com.dopdxd.combase.base.BaseActivity
import com.lwz.common.kotlin.doSomething
import com.lwz.startdemo.databinding.ActivitySecondBinding

class SecondActivity : BaseActivity<ActivitySecondBinding>(ActivitySecondBinding::inflate) {
    companion object{
        fun actionStart(context: Context,data1:String){
            val intent = Intent(context,SecondActivity::class.java).apply {
                putExtra("data1",data1)
            }
            context.startActivity(intent)
        }
    }
    override fun isImmersion(): Boolean {
        return true
    }
    override fun initView(savedInstanceState: Bundle?) {
        super.initView(savedInstanceState)
        doSomething()
    }

    override fun initListener() {
        super.initListener()


    }
}